Index: login_security.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/login_security/login_security.install,v
retrieving revision 1.6
diff -u -r1.6 login_security.install
--- login_security.install	27 Oct 2008 22:02:32 -0000	1.6
+++ login_security.install	16 Jan 2009 21:52:41 -0000
@@ -2,9 +2,10 @@
 // $Id: login_security.install,v 1.6 2008/10/27 22:02:32 deekayen Exp $
 
 function login_security_install() {
-  drupal_set_message(t('Installing security options'));
   // Create tables.
   drupal_install_schema('login_security_track');
+
+  drupal_set_message(t('Security options installed.'));
 }
 
 /**
@@ -16,7 +17,6 @@
     'fields' => array(
       'id' => array(
         'type' => 'serial',
-        'unsigned' => TRUE,
         'not null' => TRUE,
         'description' => t("Hidden Id for each security event."),
       ),
@@ -36,8 +36,6 @@
       ),
       'timestamp' => array(
         'type' => 'int',
-        'length' => 11,
-        'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
         'description' => t("The book ID is the {book}.nid of the top-level page."),
@@ -85,7 +83,7 @@
     'length' => 39,
     'not null' => TRUE,
     'default' => '',
-    'description' => t("The ip address of the connection."),
+    'description' => t("The IP address of the connection."),
     )
   );
   db_add_index($ret, 'login_security_track', 'host', array('host'));
@@ -93,7 +91,6 @@
 }
 
 function login_security_uninstall() {
-  drupal_set_message(t('Removing security options'));
   variable_del('login_security_track_time');
   variable_del('login_security_delay_base_time');
   variable_del('login_security_user_wrong_count');
@@ -110,6 +107,9 @@
   variable_del('login_security_delay_increase');
   variable_del('login_security_last_login_timestamp');
   variable_del('login_security_last_access_timestamp');
+
   // Remove tables.
   drupal_uninstall_schema('login_security_track');
-}
\ No newline at end of file
+
+  drupal_set_message(t('Security options removed.'));
+}
